package com.ujiuye.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 角色与权限的中间表，一个角色有多个权限	
 * </p>
 *
 * @author zhangwenping
 * @since 2021-07-06
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_role_permission")
@NoArgsConstructor
@AllArgsConstructor
public class RolePermission extends Model {

    private static final long serialVersionUID = 1L;

      private Integer roleId;

    private Integer permissionId;


}
